package com.tao.mapper;

import com.tao.pojo.entity.Banner;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BannerMapper {
    List<Banner> select();

    String selectUrlById(int id);

    void delete(int id);

    void update (Banner banner);

    void insert(String url);


}
